package com.qf.service.impl;

import com.qf.entity.EbookCategoty;
import com.qf.mapper.EbookCategotyDao;
import com.qf.service.EbookCategotyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lenovo
 * @version V1.0
 * @Date 2021/10/4 14:51
 */
@Service
public class EbookCategotyServiceImpl implements EbookCategotyService {

    @Autowired
    private EbookCategotyDao ebookCategotyDao;

    @Override
    public List<EbookCategoty> findAll() {
        return ebookCategotyDao.selectByExample(null);
    }
}
